home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16995 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.9 KB

  1. Path: news.cc.uic.edu!icarus!dhanle2
  2. From: dhanle2@icarus.cc.uic.edu (David James Hanley)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Followup-To: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  6. Date: 13 Apr 1996 02:26:12 GMT
  7. Organization: University of Illinois at Chicago
  8. Message-ID: <4kn3c4$1ggc@piglet.cc.uic.edu>
  9. References: <DpG1s1.GC9@research.att.com> <4k7akk$nsh@engnews2.Eng.Sun.COM> <31683229.446B9B3D@bbn.com> <DpJs8I.8tn@research.att.com>
  10. NNTP-Posting-Host: icarus.cc.uic.edu
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. andrek koenig wrote:
  14. : In article <31683229.446B9B3D@bbn.com> Joe Kraska <jkraska@bbn.com> writes:
  15.  
  16. : > ANSI-C libraries are much easier to handle than C++ 
  17. : > libraries, for a whole host of reasons, not the least of which is
  18. : > the stupid-dumb-fuck-mistake of not having a name-mangling standard
  19. : > for C++.
  20.  
  21. : The thing about hurling expletives around like that
  22. : is that it's so embarrassing when you're wrong -- as
  23. : you are in this case.
  24.  
  25.     Or that he is correct, as he is in this case.
  26.  
  27. : Having a name-mangling standard would not solve any
  28. : problems, because it would do nothing toward solving
  29. : the binary compatibility problems that affect not
  30. : only C++ but also C.
  31.  
  32.     Really?  I'll have to remember that next time I like a gnu C
  33. compiled program with a sun c compiled program.  
  34.  
  35. : I have two mutually incompatible C compilers on my workstation.
  36. : They generate names that look the same to the linker, but they
  37. : put arguments and return results in different registers.
  38.  
  39.     That's too bad.  All of mine link ok.
  40.  
  41. : Getting a single binary library to work with both those
  42. : C compilers is no easier than it is in C++.
  43.  
  44.     Wrong.  As evidence, we do this all the time in C,
  45. but I've never seen it done in C++. 
  46.  
  47. :  In fact, I can
  48. : plausibly argue that it would be easier if those two compilers
  49. : used different conventions for linkage names -- that way I could
  50. : tell when I was headed for a fall before trying to run the
  51. : program.
  52.  
  53.     I see.  Running the program once during the development cycle would
  54. be too much effort.
  55.  
  56. --
  57. ------------------------------------------------------------------------------
  58. David Hanley,                 |______     Computer Science graduate student.  
  59. dhanley@lac.eecs.uic.edu      |\ ___/__  Martial Artist. Biker. Chess Freak   
  60. www_lac.eecs.uic.edu/~dhanley/| \\ /  / Libertarian.  Atheist.  Bisexual.     
  61. My employer barely KNOWS me.  |  \/BI/ Aspiring novelist.Joyce Kafka Neitzchie
  62. -----------------------------------\/-----------------------------------------
  63. James Joyce had escaped from the normal constrictions of ego by pondering
  64. deeply what it feels like to be a woman.  Albert Einstein had escaped from
  65. the restrictions of ego by pondering deeply what it feels like to be
  66. a photon.  Joyce approached art with the methodology of a scientist; 
  67. Einstein approached science with the intuition of an artist.
  68.